﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DtoFw.Query
{
    public class WarnBindDto : WarnCheckoutDto
    {
        /// <summary>
        /// 勘验编号
        /// </summary>
        public System.String InspectionNo { get; set; }

        /// <summary>
        /// 预警时间
        /// </summary>
        public DateTime? NoticeTime { get; set; }

        /// <summary>
        /// 登记时间
        /// </summary>
        public DateTime? RegisterTime { get; set; }

        /// <summary>
        /// 回库时间
        /// </summary>
        public DateTime? ReturnTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 超期时间
        /// </summary>
        public DateTime? SaveOvertime { get; set; }
    }

    public class WarnRequestDto: BaseQuery
    {
        /// <summary>
        /// 物品编号
        /// </summary>
        public string EvidenceNo { get; set; } = string.Empty;

        /// <summary>
        /// 物品名称
        /// </summary>
        public string EvidenceName { get; set; }

        /// <summary>
        /// 案件编号
        /// </summary>
        public string CaseNo { get; set; } = string.Empty;


        /// <summary>
        /// 案件名称
        /// </summary>
        public string CaseName { get; set; } = string.Empty;

        /// <summary>
        /// 勘验编号
        /// </summary>
        public string InspectionNo { get; set; } = string.Empty;
        /// <summary>
        /// 处理状态
        /// </summary>
        public int? IsHandle { get; set; }
    }


    public class WarnEnvironmentRequestDto:BaseQuery
    {
        /// <summary>
        /// 区域
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public int? EnvironmentType { get; set; }
    }

    public class WarnEnvironmentDto
    {
        /// <summary>
        /// 区域
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public int? EnvironmentType { get; set; }

        /// <summary>
        /// 预警时间
        /// </summary>
        public DateTime? NoticeTime { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string ValInfo { get; set; }

        /// <summary>
        /// 来源描述
        /// </summary>
        public string Source { get; set; }
    }

    public class WarnStockQuantityRequestDto:BaseQuery
    {
        /// <summary>
        /// 区域
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 柜子
        /// </summary>
        public string CabinetName { get; set; }

    }

    public class WarnStockQuantityDto
    {
        /// <summary>
        /// 区域
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 柜子
        /// </summary>
        public string CabinetName { get; set; }

        /// <summary>
        /// 箱子
        /// </summary>
        public string BoxName { get; set; }

        /// <summary>
        /// 物品数量
        /// </summary>
        public int? EviCount { get; set; }

        /// <summary>
        /// 可存放箱子数
        /// </summary>
        public int? Total { get; set; }

        /// <summary>
        /// 预警时间
        /// </summary>
        public DateTime? NoticeTime { get; set; }

        /// <summary>
        /// 大于等于于容量
        /// </summary>
        public double GreaterOrEqualVolume { get; set; }

        /// <summary>
        /// 小于容量
        /// </summary>
        public double LessVolume { get; set; }
    }
}
